// test_string_processor.cpp

#include <gtest/gtest.h>
#include "string_processor.h"

TEST(StringProcessorTest, ToUpper) {
    EXPECT_EQ("HELLO", StringProcessor::ToUpper("hello"));
    EXPECT_EQ("WORLD", StringProcessor::ToUpper("World"));
}

TEST(StringProcessorTest, ToLower) {
    EXPECT_EQ("hello", StringProcessor::ToLower("HELLO"));
    EXPECT_EQ("world", StringProcessor::ToLower("World"));
}

TEST(StringProcessorTest, IsPalindrome) {
    EXPECT_TRUE(StringProcessor::IsPalindrome("racecar"));
    EXPECT_FALSE(StringProcessor::IsPalindrome("hello"));
}

int main(int argc, char** argv) {
    ::testing::InitGoogleTest(&argc, argv);
    return RUN_ALL_TESTS();
}
